Don't return from a void function
authorMatthias Clasen <mclasen@redhat.com>
Sat, 30 Aug 2014 04:53:35 +0000 (00:53 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 30 Aug 2014 04:53:35 +0000 (00:53 -0400)
And don't return the value of void functions, either.

gtk/gtklabel.c

index bf8d101bfd9c922760561e51af934e999bc0c668..cf60cf3cf7b1463c81a0bae7752ed047831611e9 100644 (file)
@@ -3865,9 +3865,9 @@ gtk_label_get_preferred_height_for_width (GtkWidget *widget,
                                           gint      *minimum_height,
                                           gint      *natural_height)
 {
-  return gtk_label_get_preferred_height_and_baseline_for_width (widget, width,
-                                                               minimum_height, natural_height,
-                                                               NULL, NULL);
+  gtk_label_get_preferred_height_and_baseline_for_width (widget, width,
+                                                         minimum_height, natural_height,
+                                                         NULL, NULL);
 }
 
 static void